package cn.hzking.gjmall.bean;

import java.util.List;

import cn.hzking.gjmall.net.base.BaseEntity;

/**
 * Created by Administrator on 2018/4/13.
 */

public class CouponBean extends BaseEntity {

    /**
     * data : {"couponSkuIdsArray":[{"coupon":{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":203,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},"skuIds":[590]},{"coupon":{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":204,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},"skuIds":[590]},{"coupon":{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":201,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},"skuIds":[590]},{"coupon":{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":200,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},"skuIds":[590]},{"coupon":{"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":202,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9},"skuIds":[590]}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<CouponSkuIdsArrayBean> couponSkuIdsArray;

        public List<CouponSkuIdsArrayBean> getCouponSkuIdsArray() {
            return couponSkuIdsArray;
        }

        public void setCouponSkuIdsArray(List<CouponSkuIdsArrayBean> couponSkuIdsArray) {
            this.couponSkuIdsArray = couponSkuIdsArray;
        }

        public static class CouponSkuIdsArrayBean {
            /**
             * coupon : {"availableAllItem":true,"availablePartItem":false,"beginTime":1522200928000,"bindCustomItemId":0,"categoryId":0,"couponId":177,"couponItemType":"ALL","couponTypeId":0,"createUser":9,"createdAt":1522200928000,"delFlag":0,"description":"","discount":1,"endTime":1523064928000,"enoughMoney":0,"faceValue":10,"free":false,"id":203,"includeItem":"","name":"ceshi","status":0,"updateUser":9,"updatedAt":2018,"userId":9}
             * skuIds : [590]
             */

            private CouponBean1 coupon;
            private List<Integer> skuIds;

            public CouponBean1 getCoupon() {
                return coupon;
            }

            public void setCoupon(CouponBean1 coupon) {
                this.coupon = coupon;
            }

            public List<Integer> getSkuIds() {
                return skuIds;
            }

            public void setSkuIds(List<Integer> skuIds) {
                this.skuIds = skuIds;
            }

            public static class CouponBean1 {
                /**
                 * availableAllItem : true
                 * availablePartItem : false
                 * beginTime : 1522200928000
                 * bindCustomItemId : 0
                 * categoryId : 0
                 * couponId : 177
                 * couponItemType : ALL
                 * couponTypeId : 0
                 * createUser : 9
                 * createdAt : 1522200928000
                 * delFlag : 0
                 * description :
                 * discount : 1
                 * endTime : 1523064928000
                 * enoughMoney : 0
                 * faceValue : 10
                 * free : false
                 * id : 203
                 * includeItem :
                 * name : ceshi
                 * status : 0
                 * updateUser : 9
                 * updatedAt : 2018
                 * userId : 9
                 */

                private boolean availableAllItem;
                private boolean availablePartItem;
                private long beginTime;
                private int bindCustomItemId;
                private int categoryId;
                private int couponId;
                private String couponItemType;
                private int couponTypeId;
                private int createUser;
                private long createdAt;
                private int delFlag;
                private String description;
                private int discount;
                private long endTime;
                private double enoughMoney;
                private double faceValue;
                private boolean free;
                private int id;
                private String includeItem;
                private String name;
                private int status;
                private int updateUser;
                private int updatedAt;
                private int userId;

                public boolean isAvailableAllItem() {
                    return availableAllItem;
                }

                public void setAvailableAllItem(boolean availableAllItem) {
                    this.availableAllItem = availableAllItem;
                }

                public boolean isAvailablePartItem() {
                    return availablePartItem;
                }

                public void setAvailablePartItem(boolean availablePartItem) {
                    this.availablePartItem = availablePartItem;
                }

                public long getBeginTime() {
                    return beginTime;
                }

                public void setBeginTime(long beginTime) {
                    this.beginTime = beginTime;
                }

                public int getBindCustomItemId() {
                    return bindCustomItemId;
                }

                public void setBindCustomItemId(int bindCustomItemId) {
                    this.bindCustomItemId = bindCustomItemId;
                }

                public int getCategoryId() {
                    return categoryId;
                }

                public void setCategoryId(int categoryId) {
                    this.categoryId = categoryId;
                }

                public int getCouponId() {
                    return couponId;
                }

                public void setCouponId(int couponId) {
                    this.couponId = couponId;
                }

                public String getCouponItemType() {
                    return couponItemType;
                }

                public void setCouponItemType(String couponItemType) {
                    this.couponItemType = couponItemType;
                }

                public int getCouponTypeId() {
                    return couponTypeId;
                }

                public void setCouponTypeId(int couponTypeId) {
                    this.couponTypeId = couponTypeId;
                }

                public int getCreateUser() {
                    return createUser;
                }

                public void setCreateUser(int createUser) {
                    this.createUser = createUser;
                }

                public long getCreatedAt() {
                    return createdAt;
                }

                public void setCreatedAt(long createdAt) {
                    this.createdAt = createdAt;
                }

                public int getDelFlag() {
                    return delFlag;
                }

                public void setDelFlag(int delFlag) {
                    this.delFlag = delFlag;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public int getDiscount() {
                    return discount;
                }

                public void setDiscount(int discount) {
                    this.discount = discount;
                }

                public long getEndTime() {
                    return endTime;
                }

                public void setEndTime(long endTime) {
                    this.endTime = endTime;
                }

                public double getEnoughMoney() {
                    return enoughMoney;
                }

                public void setEnoughMoney(double enoughMoney) {
                    this.enoughMoney = enoughMoney;
                }

                public double getFaceValue() {
                    return faceValue;
                }

                public void setFaceValue(double faceValue) {
                    this.faceValue = faceValue;
                }

                public boolean isFree() {
                    return free;
                }

                public void setFree(boolean free) {
                    this.free = free;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getIncludeItem() {
                    return includeItem;
                }

                public void setIncludeItem(String includeItem) {
                    this.includeItem = includeItem;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getUpdateUser() {
                    return updateUser;
                }

                public void setUpdateUser(int updateUser) {
                    this.updateUser = updateUser;
                }

                public int getUpdatedAt() {
                    return updatedAt;
                }

                public void setUpdatedAt(int updatedAt) {
                    this.updatedAt = updatedAt;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }
            }
        }
    }
}
